package com.ruoyi.fly.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分享消费奖励对象 referralrewards
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "Referralrewards", description = "分享消费奖励表")
@AllArgsConstructor
public class Referralrewards extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private String id;

    /**
     * 直接推荐奖励
     */
    @ApiModelProperty(value = "直接推荐奖励")
    @Excel(name = "直接推荐奖励")
    private BigDecimal directReward;

    /**
     * 间接推荐奖励
     */
    @ApiModelProperty(value = "间接推荐奖励")
    @Excel(name = "间接推荐奖励")
    private BigDecimal indirectReward;

    /**
     * 直接推荐消费奖励比率设置
     */
    @ApiModelProperty(value = "直接推荐消费奖励比率设置")
    @Excel(name = "直接推荐消费奖励比率设置")
    private BigDecimal directRewardRate;

    /**
     * 间接推荐消费奖励比率设置
     */
    @ApiModelProperty(value = "间接推荐消费奖励比率设置")
    @Excel(name = "间接推荐消费奖励比率设置")
    private BigDecimal indirectRewardRate;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createUser;

    /**
     * 更新人
     */
    @Excel(name = "更新人")
    private Long updateUser;


}
